vcProfilingManager

vcProfilingManager provides functionality for profiling components and behaviors. This is an experimental feature. The behavior, API, and availability may change without notice. .

See in: Overview

Module: vcExperimental

Parent: -

Children -

Referenced by: -

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
getProfilingEnabledBooleanvcSimulation simulationGets the value for profiling flag.
See more
Parameters:
simulation (vcSimulation): vcSimulation object.

Returns:
bool: The value of the profiling flag.
getProfilingInfotuplevcComponent componentGets the profiling information from the given component.
See more
Parameters:
component (vcComponent): Component to get the information from.

Returns:
tuple[int, float]: Tuple that contains event count and event time.
getProfilingInfotuplevcBehavior behaviorGets the profiling information from the given behavior.
See more
Parameters:
behavior (vcBehavior): Behavior to get the information from.

Returns:
tuple[int, float]: Tuple that contains event count and event time.
setProfilingEnabledNonevcSimulation simulation,
Boolean value
Sets the value for profiling flag which will enable of disable profiling data collection during simulation.
See more
Parameters:
simulation (vcSimulation): vcSimulation object.
value (bool): Flag value.